import java.util.*;

/**
 * @author LKQ
 * @date 2022/3/22 9:40
 * @description 维护最小的区域
 */
public class Solution {
    public static void main(String[] args) {

    }
    public int maxCount(int m, int n, int[][] ops) {
        int minX = m, minY = n;
        for (int[] op : ops) {
            minX = Math.min(minX, op[0]);
            minY = Math.min(minY, op[1]);
        }
        return minX * minY;
    }
}
